package com.ctshk.rpc.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审批流水
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_approval_process")
@ApiModel(value="SysApprovalProcess对象", description="审批流水")
public class SysApprovalProcess extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属审批")
    private Long approvalId;

    @ApiModelProperty(value = "第几步骤")
    private Long stepId;

    @ApiModelProperty(value = "流程步骤名称")
    private String stepName;

    @ApiModelProperty(value = "上一步骤")
    private Long lastStepId;

    @ApiModelProperty(value = "操作人ID")
    private Long userId;

    @ApiModelProperty(value = "操作人姓名")
    private String userName;

    @ApiModelProperty(value = "是否通过")
    private Integer isPass;

    @ApiModelProperty(value = "处理意见")
    private String approvalComments;

    @ApiModelProperty(value = "操作结果,枚举OrderRefundFlowStatus")
    private Integer operateResult;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;
}
